package com.chinawlx.wlxteacher.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.chinawlx.wlxteacher.R;
import com.chinawlx.wlxteacher.network.WLXHttpRxHelper;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import okhttp3.ResponseBody;
import rx.Subscriber;

/**
 * Created by wlx on 16/8/26.
 */
public class WLXLessonStatisticsActivity extends WLXBaseActivity {
    @BindView(R.id.iv_back_lesson_statistics)
    ImageView backBtn;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_lesson_statistics);
        ButterKnife.bind(this);
        init();
    }

    private void init() {
        initView();
        initData();
    }
    @OnClick({R.id.iv_back_lesson_statistics})
    public void onClick(View v){
        switch (v.getId()){
            case R.id.iv_back_lesson_statistics:
                finish();
                break;

        }
    }
    private void initData() {
        WLXHttpRxHelper.getInstance().getLessonStatistics(new Subscriber<ResponseBody>() {
            @Override
            public void onCompleted() {

            }

            @Override
            public void onError(Throwable e) {

            }

            @Override
            public void onNext(ResponseBody body) {

            }
        });
    }

    private void initView() {

    }
}
